package com.srd.phone.activity;

import android.graphics.drawable.Drawable;
import android.os.Bundle;
import android.view.View;
import android.widget.TextView;

import com.shengrongdai.srd.R;

/**
 * 提现 - 成功 Activity
 */
public class WithdrawSucceedActivity extends BaseActivity implements View.OnClickListener {

    private TextView tv_bank_card, tv_name, tv_money;


    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_withdraw_succeed);

        initView();
        initData();
    }

    public void initView() {
        tv_common_title.setText("提现");

        Drawable drawable= getResources().getDrawable(R.mipmap.ic_withdraw_title_right);
        drawable.setBounds( 0 ,  0 , 70, 70);
        tv_common_right.setCompoundDrawables(drawable, null, null, null);
        tv_common_right.setVisibility(View.VISIBLE);
        tv_common_right.setOnClickListener(this);

        tv_bank_card = (TextView) findViewById(R.id.tv_bank_card);  // 提现银行卡
        tv_name = (TextView) findViewById(R.id.tv_name);               // 开户姓名
        tv_money = (TextView) findViewById(R.id.tv_money);          // 提现金额

    }

    public void initData() {

    }

    @Override
    public void onClick(View v) {
        switch (v.getId()) {

            case R.id.tv_common_right:  // 标题右键

                break;

        }
    }

    @Override
    protected void onDestroy() {
        super.onDestroy();
    }

}
